{% extends "user/base.html" %}{% load i18n %}
{% block title %}{% trans "User login" %}{% endblock %}
{% block content %} {% trans "User login" %} {% if form.errors %}
<p class="error">
	{% trans "Sorry, that's not a valid username or password!" %}
</p>
{% endif %}

<form action='/login/' method='post'>
	<label for="username">
		{% trans "user Username" %}:
	</label>
	<input type="text" name="username" min-length="6" max-length="40" value="" id="username">
	<label for="password">
		{% trans "user Password" %}:
	</label>
	<input type="password" name="password" min-length="6" max-length="40" value="" id="password">

	<input type="submit" value="{% trans "Login" %}" />
	<input type="hidden" name="next" value="{{ next|escape }}" />

</form>

{% endblock %}
